#include <vector>
#include "Vector3.h"
#include "Particle.h"
#ifdef WIN32
#include <GL/glut.h>
#endif
#ifdef __APPLE__
#include <GLUT/glut.h>
#endif

namespace lib3dw
{
	class ParticleSystem
	{
		public:       
			ParticleSystem();
			~ParticleSystem();
			
			void Translate(float x, float y, float z);
			void Update();
			void Draw();
			void SetEnabled(bool newEnabled);
			bool IsEnabled();
		
		private:
			bool enabled;
			Vector3 translationVector;
			std::vector<Particle*> particles;
			std::vector<Particle*>::const_iterator particleIterator;
	};
}